<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="App">
        <h1>姓名：{{name}}</h1>
        <h2>年龄：{{age}}</h2>
        <h3>邮箱：{{info.email}}</h3>
        <input type="text" v-model="name">
        <input type="text" v-model="info.email">
    </div>
</body>
<script src="./vue.js"></script>
<script>
    let vm = new Vue({
        el: "#App",
        data: {
            name: 'dh',
            age: 12,
            info: {
                email: '123@qq.com'
            }
        }
    })


</script>

</html>